This is a script that bans a ip from your site.

Just add on to the array. Then where $i

=======================================================

$banip = array('127.0.0.1','127.0.0.2','?27.0.0.3');

$ip = $_SERVER['REMOTE_ADDR'];

for($i=0;$i<3;$i++){

if($ip == $banip[$i]) {
echo "You are currently banned from this website, sorry!";
exit();
} else {
echo "no match";
}
}